package com.wj.infrastructure.repository;

import com.wj.domain.entity.ChapterEntity;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ChapterRepository extends JpaRepository<ChapterEntity, Long> {

    ChapterEntity findByBookIdAndSort(Long bookId, int sort);
}
